home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr11 / powerb5.zip / P5DOS000.TIP < prev    next >
Text File  |  1993-06-01  |  2KB  |  44 lines

  1. My latest DOS 5.0 discovery lets you speed up task switching
  2. by telling DOSSHELL to swap tasks to a RAM disk (or your
  3. fastest hard drive). DOSSHELL looks to a variable called
  4. TEMP to see where to put its files, and a simple SET
  5. TEMP=E:\TEMPDIR command in your AUTOEXEC.BAT file --
  6. assuming TEMPDIR is a directory of your drive E: RAM disk --
  7. will do the trick.
  8.  
  9. A few details can help you understand the process. When
  10. DOSSHELL executes a task from the Task Menu, two files are
  11. created. The first is a small batch file that contains the
  12. commands to run the program; it's named XXXXDOSC.BAT, where
  13. XXXX is an arbitrary string of characters. The second file
  14. is written when the task is swapped out. It's called
  15. ~DOS100X.TMP, where X is an arbitrary character.
  16.  
  17. The location of that second file can make a big performance
  18. difference. If an environment variable called TEMP exists,
  19. DOSSHELL uses the drive and directory it indicates.
  20. Otherwise, it looks for an environment variable called TMP
  21. and uses it as the directory. Finally, if neither variable
  22. exists, it uses the DOSSHELL start-up directory--usually
  23. C:\DOS.
  24.  
  25. Be aware, however, that certain other programs, including
  26. many Microsoft languages, also use the TEMP and TMP
  27. environment variables. You may have to abandon the faster
  28. swapping if you have a conflict.
  29.  
  30. Malcolm Michael
  31. Castro Valley, California
  32.  
  33. Editor's Note: Using a RAM disk for DOSSHELL swaps is a good
  34. idea, but beware: Swapped tasks can take up lots of space,
  35. so you'll need a very large RAM disk.
  36.  
  37.  
  38. Title: Supervising DOS 5.0 Swaps
  39. Category: DOS
  40. Issue Date: February, 1992
  41. Editor: Brett Glass
  42. Supplementary Files: None
  43. Filename: P5DOS000.TIP
  44.